package com.startup.yellocar.service;
import java.util.*;
import org.springframework.transaction.annotation.Transactional;
import com.startup.yellocar.dto.UserTravelDTO;
public interface UserTravelService {

	@Transactional
	public void insert(UserTravelDTO userTravelDTO);

	@Transactional
	public void update(UserTravelDTO userTravelDTO);

	@Transactional
	public UserTravelDTO get(int id); 

	@Transactional
	public List<UserTravelDTO> getAll(); 

	@Transactional
	public void delete(UserTravelDTO userTravelDTO);

}
